package cn.achao.csr.openapi.core.model.resp;

import cn.achao.csr.openapi.core.annotation.ThirdServiceResp;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: achao
 **/
@Data
@ThirdServiceResp
@NoArgsConstructor
@AllArgsConstructor
public class DeepSeekResp extends ThirdResponse{


    private String id;
    private String object;
    private Integer created;
    private String model;
    private List<ChoicesDTO> choices;
    private UsageDTO usage;
    private String system_fingerprint;

    @NoArgsConstructor
    @Data
    public static class UsageDTO {
        private Integer prompt_tokens;
        private Integer completion_tokens;
        private Integer total_tokens;
    }

    @NoArgsConstructor
    @Data
    public static class ChoicesDTO {
        private Integer index;
        private MessageDTO message;
        private String finish_reason;

        @NoArgsConstructor
        @Data
        public static class MessageDTO {
            private String role;
            private String content;
            private String reasoning_content;
        }
    }
}
